<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<html>
	<head>
		<title>Say Hello</title>
	</head>
	<body>
		<h3>Say "Hello" to:</h3>
		<s:form action="HelloWorld">
		             Name: <s:textfield name="name" />
			<s:submit />
		</s:form>
		
    	<s:i18n name="ApplicationMessages">
              <h2><s:text name="HelloWorld" /></h2>
        </s:i18n>
        
        <h2><s:text name="HelloWorld"/></h2>
    	<h2><s:property value="%{getText('HelloWorld')}"/></h2>
		
	</body>
</html>
